﻿using System.Collections.Generic;
using Gp.Scripts.Data.Equip;
using Gp.Scripts.Equip;
using Sirenix.OdinInspector;
using UnityEngine;

namespace Gp.Scripts.Data {

    /// <summary>
    /// 基础配置
    /// </summary>
    [CreateAssetMenu(fileName = "BasicRuleConfigData", menuName = "Gp/规则/攻击规则配置")]
    public class BasicRuleConfig : ScriptableObject {
        [LabelText("人形单位基础生命值")] [FoldoutGroup("数值计算")]
        public int basicHumanHealth = 50;
        [LabelText("单位每点意志士气")] [SuffixLabel("意志/点, true")]
        public int moraleRate = 10;

        // [FoldoutGroup("基础配置")] [LabelText("单位初始行动点"), SuffixLabel("点", true)]
        // public int orgMovePoint = 0;
        //
        //
        // [LabelText("每回合行动点恢复"), SuffixLabel("点", true)] [FoldoutGroup("基础配置")]
        // public int turnMovePointRecover = 4;
        //
        // [FoldoutGroup("基础配置")] [LabelText("最大行动点"), SuffixLabel("点", true), ReadOnly]
        // public int maxMovePoint = 6;

        [FoldoutGroup("基础配置")] [LabelText("玩家初始单位配置")]
        public CombatantTeams playerCombatantPreset;


        [LabelText("单位移动曲线（冲刺）")]
        public AnimationCurve fastMoveCurve;
    }
}